/**
 * Copyright &copy; 2015-2020 <a href="https://www.elisoft.com.cn">emlap</a> All rights reserved.
 */
package com.elisoft.emlap.goods.service;

import com.elisoft.emlap.domain.AgentAppGoods;
import com.elisoft.emlap.goods.dao.AgentAppGoodsDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 代理商品管理Service
 * @author wuyanshen
 * @version 2018-12-07
 */
@Service
@Transactional(readOnly = true)
public class AgentAppGoodsService {

    @Autowired
    private AgentAppGoodsDao agentAppGoodsDao;


    public List<AgentAppGoods> findList(AgentAppGoods agentAppGoods) {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return agentAppGoodsDao.findList(agentAppGoods);
    }


}